package cn.ycq.im.service;

import cn.ycq.im.commons.exceptions.ServiceException;
import cn.ycq.im.model.User;

public interface UserService {
    String login(String email);

    User getUserInfo(String token);

    void setUserInfo(String token,String name) throws ServiceException;
}
